package com.hzhq.contract.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzhq.contract.bean.entity.Extern;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author hzhq
 * @create 2021/4/9 5:24 下午
 * @email hzhq1255@163.com
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "ContractTemplateVO", description = "ContractTemplateVO")
public class ContractTemplateVO {

    @ApiModelProperty(value = "idString")
    private String templateId;
    @ApiModelProperty(value = "模板名称")
    private String templateName;
    @ApiModelProperty(value = "合同种类")
    private String contractType;
    @ApiModelProperty(value = "甲方公司")
    private String companiesA;
    @ApiModelProperty(value = "乙方公司")
    private String companiesB;
    @ApiModelProperty(value = "负责人")
    private String contactPerson;
    @ApiModelProperty(value = "负责人联系方式")
    private String contactPhone;
    @ApiModelProperty(value = "所属部门")
    private String depart;
    @ApiModelProperty(value = "合同金额")
    private BigDecimal contractAmount;
    @ApiModelProperty(value = "自定义扩展字段")
    private List<Extern> externList;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date createTime;
    @ApiModelProperty(value = "申请人员")
    private String createUser;
    @ApiModelProperty(value = "删除标志 0 未删除 1 删除")
    private Integer deleted;
    @ApiModelProperty(value = "是否通过")
    private Integer passed;

}
